home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Source / GNU / debug / gdb / glob / sysdep.h < prev    next >
C/C++ Source or Header  |  1994-11-29  |  346b  |  18 lines

  1. /* System-dependent stuff, for Sony NEwS, Mach, and other BSD-derived
  2.    systems */
  3.  
  4. #ifdef __GNUC__
  5. #define alloca __builtin_alloca
  6. #else
  7. extern char *alloca ();
  8. #endif
  9.  
  10. #include <sys/types.h>
  11. #include <sys/dir.h>
  12. typedef struct direct dirent;
  13.  
  14. #ifdef NeXT
  15. #define xmalloc(l) malloc(l)
  16. #define xrealloc(p, l) realloc((p), (l))
  17. #endif /* NeXT */
  18.